﻿@using MvcMall.AdminPortal.Controllers.StoreGrades.ViewModels;
@model SaveStoreGradeModel
@using (Html.BeginForm("Save", "StoreGrades"))
{
    <fieldset>
        @Html.HiddenFor(m => m.Id)
        <div class="editor-label">
            @Html.LabelFor(m => m.GradeName)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.GradeName)
            @Html.ValidationMessageFor(m => m.GradeName)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.InitiaFee)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.InitiaFee)
            @Html.ValidationMessageFor(m => m.InitiaFee)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.ManagementFee)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.ManagementFee)
            @Html.ValidationMessageFor(m => m.ManagementFee)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.GoodsLimit)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.GoodsLimit)
            @Html.ValidationMessageFor(m => m.GoodsLimit)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.SpaceLimit)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.SpaceLimit)
            @Html.ValidationMessageFor(m => m.SpaceLimit)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.SkinLimit)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.SkinLimit)
            @Html.ValidationMessageFor(m => m.SkinLimit)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CanSecKill)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(m => m.CanSecKill) 是
            @Html.ValidationMessageFor(m => m.CanSecKill)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CanPromoted)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(m => m.CanPromoted) 是
            @Html.ValidationMessageFor(m => m.CanPromoted)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CanIsBest)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(m => m.CanIsBest) 是
            @Html.ValidationMessageFor(m => m.CanIsBest)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CanIsHot)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(m => m.CanIsHot) 是
            @Html.ValidationMessageFor(m => m.CanIsHot)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CanUploadDefinitionImg)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(m => m.CanUploadDefinitionImg) 是
            @Html.ValidationMessageFor(m => m.CanUploadDefinitionImg)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CanUploadVideo)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(m => m.CanUploadVideo) 是
            @Html.ValidationMessageFor(m => m.CanUploadVideo)
        </div>
         <div class="editor-label">
            @Html.LabelFor(m => m.GradeDesc)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(m => m.GradeDesc, new { @style="width:300px; height:120px;" }) 
            @Html.ValidationMessageFor(m => m.GradeDesc)
        </div>
        <p>
            <input type="submit" value="保存设置" /></p>
    </fieldset>
}
